<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'id'=>'segment-project-form',
	'enableAjaxValidation'=>false,
)); ?>

<p class="help-block">Fields with <span class="required">*</span> are required.</p>

<?php echo $form->errorSummary($model); ?>

	<?php echo $form->textFieldRow($model,'create_at',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'modify_at',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'create_user_id',array('class'=>'span5','maxlength'=>10)); ?>

	<?php echo $form->textFieldRow($model,'update_user_id',array('class'=>'span5','maxlength'=>10)); ?>

	<?php echo $form->textFieldRow($model,'unitproject_id',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'name',array('class'=>'span5','maxlength'=>48)); ?>

	<?php echo $form->textFieldRow($model,'description',array('class'=>'span5','maxlength'=>255)); ?>

	<?php echo $form->textFieldRow($model,'quality',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'quality_details',array('class'=>'span5','maxlength'=>255)); ?>

	<?php echo $form->textFieldRow($model,'safety',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'safety_details',array('class'=>'span5','maxlength'=>255)); ?>

	<?php echo $form->textFieldRow($model,'pre_start_at',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'pre_end_at',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'real_start_at',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'real_end_at',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'type',array('class'=>'span5','maxlength'=>255)); ?>

	<?php echo $form->textFieldRow($model,'end_work_status',array('class'=>'span5')); ?>

<div class="form-actions">
	<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>$model->isNewRecord ? 'Create' : 'Save',
		)); ?>
</div>

<?php $this->endWidget(); ?>
